/*
 * Project Name spring-boot-tools
 * File Name CmppClientConfig
 * Package Name com.huxiaosu.tools.cmpp.config
 * Create Time 2024/5/12
 * Create by name：liujie
 */
package com.huxiaosu.tools.cmpp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Description
 *
 * @author liujie
 * @date 2024/5/12 17:45
 */
@Data
@Component
@ConfigurationProperties(CmppClientConfig.PREFIX)
public class CmppClientConfig {

    public static final String PREFIX = "tools.cmpp-client";

    /** cmpp_active_test 重连次数 */
    private Integer connectCount;

    private String spIp;

    private Integer port;

    private String spId;

    private String sharedSecret;

    private String spCode;

    private String serviceId;

    private Integer timeout;

}
